package com.xw.childhealth.dao;

import com.xw.childhealth.entity.ChildrenStandard;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 2019-11-14 10:18
 * @Version: 1.0
 */
public interface ChildrenStandardDao extends JpaRepository<ChildrenStandard, Integer> {

    List<ChildrenStandard> findByParentIdEquals(Integer id);

    ChildrenStandard findByIdEquals(Integer id);

}
